package com.example.cr.insect.mapper;

import com.example.cr.insect.entity.PreventionPlan;
import com.example.cr.insect.entity.PreventionPlanExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PreventionPlanMapper {
    long countByExample(PreventionPlanExample example);

    int deleteByExample(PreventionPlanExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PreventionPlan row);

    int insertSelective(PreventionPlan row);

    List<PreventionPlan> selectByExample(PreventionPlanExample example);

    PreventionPlan selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") PreventionPlan row, @Param("example") PreventionPlanExample example);

    int updateByExample(@Param("row") PreventionPlan row, @Param("example") PreventionPlanExample example);

    int updateByPrimaryKeySelective(PreventionPlan row);

    int updateByPrimaryKey(PreventionPlan row);
}